package com.dhcc.sds.base.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 项目数据源配置表
 * 
 * @ClassName: SdsDataConfigEntity
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-04-15 11:14:54
 */
@TableName("t_sds_ct_data_config")
public class SdsDataConfigEntity extends BaseEntity<SdsDataConfigEntity> {
	private static final long serialVersionUID = 1L;
	
	//质控项目
	private Long fitemId;
	//关联值域字典
	private Long fitemDicId;
	//数据源
	private Long dsId;
	//关联标准字典ID
	private Long linkStandId;
	//采集时机
	private Long getTiming;
	//结果运算式
	private String calcExp;
	//是否缓存
	private Integer btIsCache;
	//关联取值代码
	private String valueItemCode;
	//更新日期
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateDate;
	//更新人
	private String updateUser;

	/**
	 * 设置：质控项目
	 */
	public void setFitemId(Long fitemId) {
		this.fitemId = fitemId;
	}
	/**
	 * 获取：质控项目
	 */
	public Long getFitemId() {
		return fitemId;
	}
	/**
	 * 设置：数据源
	 */
	public void setDsId(Long dsId) {
		this.dsId = dsId;
	}
	/**
	 * 获取：数据源
	 */
	public Long getDsId() {
		return dsId;
	}
	/**
	 * 设置：采集时机
	 */
	public void setGetTiming(Long getTiming) {
		this.getTiming = getTiming;
	}
	/**
	 * 获取：采集时机
	 */
	public Long getGetTiming() {
		return getTiming;
	}
	/**
	 * 设置：关联标准字典ID
	 */
	public void setLinkStandId(Long linkStandId) {
		this.linkStandId = linkStandId;
	}
	/**
	 * 获取：关联标准字典ID
	 */
	public Long getLinkStandId() {
		return linkStandId;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	/**
	 * 设置：更新人
	 */
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * 获取：更新人
	 */
	public String getUpdateUser() {
		return updateUser;
	}

	public Integer getBtIsCache() {
		return btIsCache;
	}

	public void setBtIsCache(Integer btIsCache) {
		this.btIsCache = btIsCache;
	}

	public String getValueItemCode() {
		return valueItemCode;
	}

	public void setValueItemCode(String valueItemCode) {
		this.valueItemCode = valueItemCode;
	}

	public Long getFitemDicId() {
		return fitemDicId;
	}

	public void setFitemDicId(Long fitemDicId) {
		this.fitemDicId = fitemDicId;
	}

	public String getCalcExp() {
		return calcExp;
	}

	public void setCalcExp(String calcExp) {
		this.calcExp = calcExp;
	}
}
